﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QiCheXiaoShouGuanli.WZB
{
    public partial class QICheXiangQing : Form
    {
        string name;
        public QICheXiangQing()
        {
            InitializeComponent();
        }
    
        public QICheXiangQing(string name1)
        {
            InitializeComponent();
            name = name1;
        }
   
        private void QICheXiangQing_Load(object sender, EventArgs e)
        {
            string sql = string.Format("select * from Car where qicheming='{0}'", name);
            DataTable table = DBHelper.Read(sql);
            this.label1.Text = table.Rows[0]["qicheming"].ToString();
        }
    }
}
